// Mobile nav button
const navBtn = document.querySelector('.mobile-nav-btn');
const nav = document.querySelector('.mobile-nav');
const fade = document.querySelector('.mobile-nav-fade');

navBtn.addEventListener('click', () => {
  navBtn.classList.toggle('active');
  nav.classList.toggle('mobile-nav--open');
  fade.classList.toggle('mobile-nav-fade--open');
  document.body.classList.toggle('no-scroll');
});

fade.addEventListener('click', () => {
  nav.classList.toggle('mobile-nav--open');
  fade.classList.toggle('mobile-nav-fade--open');
  navBtn.classList.toggle('active');
  document.body.classList.toggle('no-scroll');
});
